Removed unneeded config options, added gemnasium

Dominik Sander 10 年之前
父节点
当前提交
460e940c8a
共有 5 个文件被更改,包括 1 次插入13 次删除
  1. 0 1
      .env.example
  2. 1 1
      README.md
  3. 0 3
      config/application.rb
  4. 0 3
      config/environments/production.rb
  5. 0 5
      config/initializers/devise.rb

+ 0 - 1
.env.example

@@ -2,7 +2,6 @@
2 2
 
3 3
 # Replace the following with the output from "rake secret"
4 4
 APP_SECRET_TOKEN=REPLACE_ME_NOW!
5
-DEVISE_SECRET_TOKEN=REPLACE_ME_NOW!
6 5
 
7 6
 # This is the domain where your Huginn instance will be running. The default should work
8 7
 # for development, but it needs to be changed to your Huginn domain when you deploy to a

+ 1 - 1
README.md

@@ -104,5 +104,5 @@ Huginn is a work in progress and is hopefully just getting started.  Please get
104 104
 
105 105
 Please fork, add specs, and send pull requests!
106 106
 
107
-[![Build Status](https://travis-ci.org/cantino/huginn.png)](https://travis-ci.org/cantino/huginn) [![Coverage Status](https://coveralls.io/repos/cantino/huginn/badge.png)](https://coveralls.io/r/cantino/huginn) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/cantino/huginn/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
107
+[![Build Status](https://travis-ci.org/cantino/huginn.png)](https://travis-ci.org/cantino/huginn) [![Coverage Status](https://coveralls.io/repos/cantino/huginn/badge.png)](https://coveralls.io/r/cantino/huginn) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/cantino/huginn/trend.png)](https://bitdeli.com/free "Bitdeli Badge") [![Dependency Status](https://gemnasium.com/cantino/huginn.svg)](https://gemnasium.com/cantino/huginn)
108 108
 

+ 0 - 3
config/application.rb

@@ -47,8 +47,5 @@ module Huginn
47 47
     # Enable the asset pipeline
48 48
     config.assets.enabled = true
49 49
     config.assets.initialize_on_precompile = false
50
-
51
-    # Version of your assets, change this if you want to expire all your assets
52
-    config.assets.version = '1.0'
53 50
   end
54 51
 end

+ 0 - 3
config/environments/production.rb

@@ -32,9 +32,6 @@ Huginn::Application.configure do
32 32
   # Generate digests for assets URLs
33 33
   config.assets.digest = true
34 34
 
35
-  # Version of your assets, change this if you want to expire all your assets.
36
-  config.assets.version = '1.0'
37
-
38 35
   # Specifies the header that your server uses for sending files.
39 36
   # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
40 37
   # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx

+ 0 - 5
config/initializers/devise.rb

@@ -1,11 +1,6 @@
1 1
 # Use this hook to configure devise mailer, warden hooks and so forth.
2 2
 # Many of these configuration options can be set straight in your model.
3 3
 Devise.setup do |config|
4
-  # The secret key used by Devise. Devise uses this key to generate
5
-  # random tokens. Changing this key will render invalid all existing
6
-  # confirmation, reset password and unlock tokens in the database.
7
-  config.secret_key = ENV['DEVISE_SECRET_TOKEN']
8
-
9 4
   # ==> Mailer Configuration
10 5
   # Configure the e-mail address which will be shown in Devise::Mailer,
11 6
   # note that it will be overwritten if you use your own mailer class